package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmNews;
import org.apache.commons.net.nntp.Article;

import java.util.List;

/**
 * @author Gareth Cao
 * @date 2022/6/12 19:36
 */
public interface IApArticleService extends IService<ApArticle> {
    List<Article> load(ArticleHomeDto dto, Integer type);

    ResponseResult saveArticle(ArticleDto dto);
}
